package test.feign;
import java.util.Map;

import javax.ws.rs.PathParam;
import camila.feign.http.contract.HttpParam;
import camila.feign.http.contract.HttpRequestDefault;
import camila.feign.http.contract.RequestMethod;
import camila.feign.http.contract.RequestUri;
import feign.Request.HttpMethod;

@HttpRequestDefault()
public interface HelloClient {
	public static class Params{
		@HttpParam("age")
		private int age;

		public int getAge() {
			return age;
		}

		public void setAge(int age) {
			this.age = age;
		}
		
	}
	@RequestMethod(method = HttpMethod.POST)
	@RequestUri(uri = "/provide/person/asdasd")
	Person person(@PathParam("name")String name,@HttpParam() Map<String,Object> map); 
}
